// priority: 0

settings.logAddedRecipes = true
settings.logRemovedRecipes = true
settings.logSkippedRecipes = false
settings.logErroringRecipes = true

console.info('Hello, World! (You will see this line every time server resources reload)')

onEvent('recipes', event => {
	// Change recipes here
})




onEvent('item.tags', event => {
event.get('neapolitan:milk_bottle').add('farmersdelight:milk_bottle')	
event.add('forge:dusts/potassium_carbonate', 'kubejs:dendro_essence')
event.add('forge:wither_bones', 'iceandfire:witherbone')	

event.add('minecraft:piglin_loved', 'kubejs:nether_token')
event.add('minecraft:piglin_loved', 'kubejs:nether_memory')

event.add('eow:dragonsteel', 'iceandfire:dragonsteel_ice_ingot')
event.add('eow:dragonsteel', 'iceandfire:dragonsteel_fire_ingot')
event.add('eow:dragonsteel', 'iceandfire:dragonsteel_lightning_ingot')

/*
event.add('forge:ingots/enderium', 'kubejs:enderium_ingot')//('末影锭')
event.add('forge:plates/enderium', 'kubejs:enderium_plate')//('末影板')

event.add('forge:dusts/bronze', 'kubejs:bronze_dust')//('青铜粉')

event.add('forge:dusts/aluminum', 'kubejs:aluminum_dust')//('铝粉')
event.add('forge:ingots/aluminum', 'kubejs:aluminum_ingot')//('铝锭')
event.add('forge:plates/aluminum', 'kubejs:aluminum_plate')//('铝板')

event.add('forge:plates/lead', 'kubejs:lead_plate')//('铅板')
event.add('forge:dusts/lead', 'kubejs:lead_dust')//('铅粉')

event.add('forge:ingots/iridium', 'kubejs:iridium_ingot')//('铱锭')

event.add('forge:plates/tin', 'kubejs:tin_plate')//('锡板')
event.add('forge:rods/iron', 'minecraft:iron_bars')//('铁栏杆')
event.add('forge:dusts/uranium', 'kubejs:uranium_dust')//('铀粉')
//源头：末影锭、铝锭、铅粉、铱锭、铀粉
//末影锭=铅+珍珠+冰锌
//铝锭、铅粉、铱锭、铀粉
//铝锭=雷击红砖
//铅粉=拴绳粉碎概率出
//铀粉=紫影末光+液态脂肪注液香草荚
*/

	// Get the #forge:cobblestone tag collection and add Diamond Ore to it
	// event.get('forge:cobblestone').add('minecraft:diamond_ore')

	// Get the #forge:cobblestone tag collection and remove Mossy Cobblestone from it
	// event.get('forge:cobblestone').remove('minecraft:mossy_cobblestone')
})
onEvent('fluid.tags', event => {
event.add('forge:gorgon_blood', 'kubejs:gorgon_blood')


})


/*
//物体在流体中转化
{
  "type": "interactio:item_fluid_transform",
  "inputs": [
    {
      "item": "minecraft:spruce_log",
      "count": 3,
      "return_chance": 0.75
    },
    {
      "tag": "forge:ingots/gold",
      "count": 2
    }
  ],
  "fluid": {
    "fluid": "water"
  },
  "output": {
    "entries": [
      {
        "result": {
          "item": "minecraft:diamond",
          "count": 2
        },
        "weight": 7
      },
      {
        "result": {
          "item": "minecraft:orange_wool",
          "count": 3
        },
        "weight": 10
      }
    ],
    "empty_weight": 83,
    "rolls": 10
  },
  "consume_fluid": 0.1
}
//物体在流体中转化
{
  "type": "interactio:item_fluid_transform",
  "inputs": [
    {
      "item":  "minecraft:glass_bottle",
      "count": 1
    }
  ],
  "fluid": {
    "fluid": "water"
  },
  "output": {
    "item": "minecraft:potion",
    "count": 1,
    "nbt": {
      "Potion": "minecraft:water"
    }
  },
  "consume_fluid": 0.33
}
//流体间转化
{
  "type": "interactio:fluid_fluid_transform",
  "items": [
    {
      "tag": "forge:ingots/iron",
      "count": 4,
      "return_chance": 1
    }
  ],
  "input": {
    "fluid": "water"
  },
  "output": {
    "entries": [
      {
        "result": {
          "fluid": "industrialforegoing:milk"
        },
        "weight": 2
      },
      {
        "result": {
          "fluid": "industrialforegoing:latex"
        },
        "weight": 4
      }
    ],
    "empty_weight": 5
  }
}
//物品爆破
{
  "type": "interactio:item_explode",
  "inputs": [
    {
      "item": "minecraft:redstone",
      "count": 1
    },
    {
      "tag": "forge:ingots/gold",
      "count": 2
    }
  ],
  "output": {
    "entries": [
      {
        "result": {
          "item": "minecraft:gold_nugget",
          "count": 3
        },
        "weight": 2
      },
      {
        "result": {
          "item": "minecraft:redstone_block",
          "count": 1
        },
        "weight": 1
      }
    ],
    "empty_weight": 0,
    "rolls": 1
  }
}
//方块爆破
{
  "type": "interactio:block_explode",
  "input": {
    "block": "netherrack"
  },
  "output": {
    "type": "block",
    "entries": [
      {
        "result": {
          "block": "gold_ore"
        },
        "weight": 3
      },
      {
        "result": {
          "block": "obsidian"
        },
        "weight": 2
      }
    ],
    "empty_weight": 5
  }
}
//闪电
{
  "type": "interactio:item_lightning",
  "inputs": [
    {
      "tag": "forge:ores",
      "count": 1
    },
    {
      "tag": "forge:stone",
      "count": 2
    }
  ],
  "output": {
    "entries": [
      {
        "result": {
          "item": "silents_mechanisms:gold_dust",
          "count": 1
        },
        "weight": 2
      }
    ],
    "empty_weight": 1,
    "rolls": 1
  }
}
//铁砧
{
  "type": "interactio:item_anvil_smashing",
  "inputs": [
    {
      "item": "minecraft:gold_nugget",
      "count": 9
    }
  ],
  "output": {
    "entries": [
      {
        "result": {
          "item": "minecraft:gold_ingot"
        },
        "weight": 20
      },
      {
        "result": {
          "item": "minecraft:iron_nugget"
        },
        "weight": 10
      }
    ],
    "rolls": 2,
    "empty_weight": 1
  },
  "damage": 1
}
*/